package com.wwx.worldonwheels.domain;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

@AllArgsConstructor
public class WwxIndividual implements Serializable {
    private Integer custId;

    private String fname;

    private String mname;

    private String lname;

    private Integer licenseNo;

    private String insurName;

    private Integer insurNo;

    private static final long serialVersionUID = 1L;

    public Integer getCustId() {
        return custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public Integer getLicenseNo() {
        return licenseNo;
    }

    public void setLicenseNo(Integer licenseNo) {
        this.licenseNo = licenseNo;
    }

    public String getInsurName() {
        return insurName;
    }

    public void setInsurName(String insurName) {
        this.insurName = insurName;
    }

    public Integer getInsurNo() {
        return insurNo;
    }

    public void setInsurNo(Integer insurNo) {
        this.insurNo = insurNo;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", custId=").append(custId);
        sb.append(", fname=").append(fname);
        sb.append(", mname=").append(mname);
        sb.append(", lname=").append(lname);
        sb.append(", licenseNo=").append(licenseNo);
        sb.append(", insurName=").append(insurName);
        sb.append(", insurNo=").append(insurNo);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}